Skip to content

[monitor] Update @azure/opentelemetry-instrumentation-azure-sdk dependencies to ^1.0.0#38420

Merged
maorleger merged 5 commits into
mainfrom
copilot/update-otel-instrumentation-dependencies
May 7, 2026
Merged

[monitor] Update @azure/opentelemetry-instrumentation-azure-sdk dependencies to ^1.0.0#38420
maorleger merged 5 commits into
mainfrom
copilot/update-otel-instrumentation-dependencies

Conversation

Copilot AI commented May 5, 2026

Copy link
Copy Markdown
Contributor

Now that @azure/opentelemetry-instrumentation-azure-sdk 1.0.0 is released, update all dependent packages from beta version pins to ^1.0.0.

Packages impacted by this PR

  • @azure/monitor-opentelemetry
  • @azure/ai-agents
  • @azure/ai-inference (rest)
  • @azure/ai-projects
  • Corresponding samples packages for the above

Issues associated with this PR

Describe the problem that is addressed by this PR

Dependent packages were pinned to ^1.0.0-beta.9 or exact 1.0.0-beta.7 versions of @azure/opentelemetry-instrumentation-azure-sdk. With 1.0.0 now published, these should resolve to the stable release. Additionally, the perf test version matrix in sdk/monitor/monitor-opentelemetry/perf-tests.yml was also pinned to 1.0.0-beta.5 and has been updated to 1.0.0.

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Straightforward version range update to ^1.0.0 across all dependents + pnpm install to update the lockfile. The perf test config version matrix entry was updated to the stable 1.0.0 pin to match. Merge conflicts with main were resolved across multiple rounds by retaining our ^1.0.0 version bump for @azure/opentelemetry-instrumentation-azure-sdk alongside new changes introduced in main — including the @modelcontextprotocol/sdk devDependency in sdk/ai/ai-projects, and the Monitor Distro 1.17.0 / Exporter beta.40 release bumps (@azure/monitor-opentelemetry-exporter@1.0.0-beta.40, @azure/monitor-opentelemetry@^1.17.0). The lockfile was regenerated with pnpm install after each merge.

Are there test cases added in this PR? (If not, why?)

No — this is a dependency version bump with no behavioral changes.

Provide a list of related PRs (if any)

N/A

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

Copilot AI changed the title [WIP] Update otel-instrumentation dependencies to version 1.0.0 [monitor] Update @azure/opentelemetry-instrumentation-azure-sdk dependencies to ^1.0.0 May 5, 2026
Copilot AI requested a review from maorleger May 5, 2026 18:18
@maorleger maorleger marked this pull request as ready for review May 5, 2026 18:45
Copilot AI review requested due to automatic review settings May 5, 2026 18:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dependent packages to use the stable @azure/opentelemetry-instrumentation-azure-sdk@^1.0.0 now that 1.0.0 is released, and refreshes the pnpm lockfile accordingly.

Changes:

  • Bump @azure/opentelemetry-instrumentation-azure-sdk dependency ranges from beta pins (1.0.0-beta.*) to ^1.0.0 in impacted packages.
  • Apply the same version range update in the corresponding samples’ package.json files.
  • Update pnpm-lock.yaml to reflect the new specifiers and remove no-longer-needed beta snapshot entries.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sdk/monitor/monitor-opentelemetry/package.json Updates runtime dependency to @azure/opentelemetry-instrumentation-azure-sdk@^1.0.0.
sdk/ai/ai-projects/package.json Updates dev dependency pin to ^1.0.0.
sdk/ai/ai-inference-rest/package.json Updates dev dependency pin to ^1.0.0.
sdk/ai/ai-inference-rest/samples/v1-beta/typescript/package.json Updates sample dependency pin to ^1.0.0.
sdk/ai/ai-inference-rest/samples/v1-beta/javascript/package.json Updates sample dependency pin to ^1.0.0.
sdk/ai/ai-agents/package.json Updates dev dependency pin to ^1.0.0.
sdk/ai/ai-agents/samples/v1-beta/typescript/package.json Updates sample dependency pin to ^1.0.0.
sdk/ai/ai-agents/samples/v1-beta/javascript/package.json Updates sample dependency pin to ^1.0.0.
pnpm-lock.yaml Lockfile refresh reflecting updated specifiers and removing old beta snapshots.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread sdk/monitor/monitor-opentelemetry/package.json
…ion-azure-sdk@1.0.0

Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-js/sessions/1bd6d034-7c5b-4fe0-b7a3-72c7dd3c4739

Co-authored-by: maorleger <753570+maorleger@users.noreply.github.com>
jeremymeng
jeremymeng previously approved these changes May 5, 2026
@maorleger

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

…resolve conflicts

Co-authored-by: maorleger <753570+maorleger@users.noreply.github.com>

Copilot AI commented May 5, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Resolved the merge conflicts in commit 8dec582. The conflict in sdk/ai/ai-projects/package.json was resolved by keeping ^1.0.0 for @azure/opentelemetry-instrumentation-azure-sdk while retaining the new @modelcontextprotocol/sdk dependency that was added in main. The pnpm-lock.yaml conflict was resolved by accepting main's lockfile as the base and re-running pnpm install to incorporate our version changes.

@maorleger maorleger enabled auto-merge (squash) May 6, 2026 13:52
JacksonWeber
JacksonWeber previously approved these changes May 6, 2026
@maorleger

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

…resolve conflicts

Co-authored-by: maorleger <753570+maorleger@users.noreply.github.com>

Copilot AI commented May 7, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Resolved the merge conflicts in commit d75983c. The new conflicts were caused by the Distro 1.17.0 & Exporter beta.40 release in main (#38450), which bumped @azure/monitor-opentelemetry-exporter to 1.0.0-beta.40 and @azure/monitor-opentelemetry to ^1.17.0 in the same files we changed. All four package.json conflicts were resolved by keeping our ^1.0.0 for @azure/opentelemetry-instrumentation-azure-sdk while accepting main's version bumps for the exporter/monitor packages. The lockfile was regenerated with pnpm install.

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

Hi @copilot. We've noticed that new changes have been pushed to this pull request. Because it is set to automatically merge, we've reset the approvals to allow the opportunity to review the updates.

@github-actions github-actions Bot dismissed stale reviews from jeremymeng and JacksonWeber May 7, 2026 16:39

Hi @jeremymeng. We've noticed that new changes have been pushed to this pull request. Because it is set to automatically merge, we've reset the approvals to allow the opportunity to review the updates.

@maorleger maorleger disabled auto-merge May 7, 2026 16:59
@maorleger maorleger merged commit 19734e9 into main May 7, 2026
12 checks passed
@maorleger maorleger deleted the copilot/update-otel-instrumentation-dependencies branch May 7, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[monitor] Update otel-instrumentation dependencies

5 participants